package com.ylq.service;

import com.ylq.entity.PageVo;
import com.ylq.entity.Roles;

import java.util.List;

/**
 * @Author qiang
 * @Description TODO
 * @Date 2020-04-27
 **/
public interface RolesService {

    int createRole(Roles roles);

    int updateRole(Roles roles);

    List<Roles> getRolesLayUI(Integer offSet, Integer limit);

    int countAllRoles();

    int deleteRole(String roleId);

    List<Roles> getRolesAll();

    List<Roles> getRolesByUserIdLayUI(String uId);

    int deleteRm(String roleId);

    List<Roles> findOtherRoles(String uId);
}
